libxc: Support cross-bitness guest when core-dumping
authorKeir Fraser <keir.fraser@citrix.com>
Thu, 15 Jan 2009 12:37:42 +0000 (12:37 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Thu, 15 Jan 2009 12:37:42 +0000 (12:37 +0000)
commit3967bb3aff365793c04013fb2e29d7d79b44c5d3
treef83174db75f446c8123fe805eb68f559cc50bfd5
parent523540cc9bc3c4c982fd2c5b9d65a96b2c210a36
libxc: Support cross-bitness guest when core-dumping

This patch allows core-dumping to work on a cross-bit host/guest
configuration, whereas previously that was not supported.  It supports
both PV and FV guests. The core file format generated by the host,
needs to match that of the guest, so an alignment issue is addressed,
along with the p2m frame list handling being done according to the
guest size.

Signed-off-by: Bruce Rogers <brogers@novell.com>
tools/libxc/xc_core.c
tools/libxc/xc_core.h
tools/libxc/xc_core_ia64.c
tools/libxc/xc_core_x86.c
tools/libxc/xc_core_x86.h